Bloom filter(布隆过滤器):一种概率型数据结构,用于快速判断某个元素是否可能在集合中。特点是:
/bluːm ˈfɪltər/
A Bloom filter can tell you quickly whether an item is definitely not in the set.
布隆过滤器可以快速告诉你某个元素是否一定不在集合中。
Before querying the database, the service checks a Bloom filter to reduce unnecessary reads, accepting a small probability of false positives.
在查询数据库之前,服务会先检查布隆过滤器以减少不必要的读取,并接受小概率的假阳性。
“Bloom filter”得名于提出该结构的计算机科学家 Burton Howard Bloom。其中 filter 表示“过滤/筛选”,指它用于筛掉“肯定不存在”的元素;该方法最早系统性发表于 1970 年的论文中。